package com.eight.cloud.client.service.subscribe;

/**
 * 微信付款通知订阅
 * @ClassName: WxPaymentSubscribe
 * @Author: TXC
 * @Date: 2024-11-20 10:25
 **/
public class WxPaymentSubscribe implements SubscribeObject {
    public static final String WX_PAYMENT_TOPIC = "/user/message/payment";
    public SubscribeHandler subscribeHandler;

    public WxPaymentSubscribe(SubscribeHandler subscribeHandler) {
        this.subscribeHandler = subscribeHandler;
    }

    @Override
    public String getTopic() {
        return WX_PAYMENT_TOPIC;
    }

    @Override
    public SubscribeHandler getSubscribeHandler() {
        return this.subscribeHandler;
    }
}
